﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using LogAnProject;

namespace DifferentNamespace
{
    [TestFixture]
    class SettingTestCategoriesTest5
    {
        [Test]
        [Category("Farkli Namespace")]
        public void IsValidFileName_validFileUpperCased_ReturnsTrue()
        {
            LogAnalyzer lg = new LogAnalyzer();
            bool result = lg.IsValidLogFileName("whatever.SLF");
            Assert.IsTrue(result, "Buyuk harf geldimi hata!");

        }
    }
}
namespace LogAnProject.Tests
{
    [TestFixture]
    class JustTest
    {
        [Test]
        [Category("SameNamespaceDifferentCategory")]
        public void IsValidFileName_validFileUpperCased_ReturnsTrue()
        {
            LogAnalyzer lg = new LogAnalyzer();
            bool result = lg.IsValidLogFileName("whatever.SLF");
            Assert.IsTrue(result, "Buyuk harf geldimi hata!");

        }
    }
}
